textbuffer: Remove check for GdkDrawable
authorBenjamin Otte <otte@redhat.com>
Mon, 22 Nov 2010 16:56:34 +0000 (17:56 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 Dec 2010 19:21:02 +0000 (20:21 +0100)
This should only have been used for stipple patterns, and those are gone
now.

gtk/gtktextbufferserialize.c

index 16a36d3994a4d2cc60197d878cac702996c7e42f..526e9518aa9522ed3be4bea02ac8b07bb2095b5d 100644 (file)
@@ -70,10 +70,6 @@ serialize_value (GValue *value)
 
       return g_strdup_printf ("%x:%x:%x", color->red, color->green, color->blue);
     }
-  else if (g_type_is_a (value->g_type, GDK_TYPE_DRAWABLE))
-    {
-      /* Don't do anything */
-    }
   else
     {
       g_warning ("Type %s is not serializable\n", g_type_name (value->g_type));